﻿@model BusinessManagementStudio.ViewModel.CompanyFMCode

@{
    ViewBag.Title = "New Client";
}

<title>Client Creation</title>

<h2 align="center">New Client</h2>

@using (Html.BeginForm("MultipleCommandForAdmin", "Maintenance"))
{
    @Html.ValidationSummary(true)

    <table align="center">
        <tr>
            <td width="150">Company :</td>
            <td>@Html.DropDownList("ComName", Model.company.CompanyNameList)</td>
        </tr>
        <tr>
            <td width="150">FM Code :</td>
            <td>@Html.DropDownList("FacMCode", Model.fm.FMNameList)</td>
        </tr>
        <tr>
            <td width="150">Billing Name :</td>
            <td>@Html.TextBox("BillName")</td>
        </tr>
        <tr>
            <td width="150">Billing Address 1 :</td>
            <td>@Html.TextBox("BillAddress1")</td>
        </tr>
        <tr>
            <td width="150">Billing Address 2 :</td>
            <td>@Html.TextBox("BillAddress2")</td>
        </tr>
        <tr>
            <td width="150">Billing Address 3 :</td>
            <td>@Html.TextBox("BillAddress3")</td>
        </tr>
        <tr>
            <td width="150">Billing Address 4 :</td>
            <td>@Html.TextBox("BillAddress4")</td>
        </tr>
        <tr>
            <td width="150">Telephone No. :</td>
            <td>@Html.TextBox("TelephoneNo")</td>
        </tr>
        <tr>
            <td width="150">Fax No. :</td>
            <td>@Html.TextBox("FaxNo")</td>
        </tr>
        <tr>
            <td width="150">Attention To :</td>
            <td>@Html.TextBox("AttnTo")</td>
        </tr>
    </table>
    
    <br align="center"/>
    <div align="center">
        <button type="submit" name="Command" value="CreateClient">Create</button>
        <button type="submit" name="Command" value="Cancel">Cancel</button> 
    </div>
}
 
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
